module.exports = {
  head: [
    ['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }],
    ['link', { rel: 'icon', href: '/logo.png' }],
    [
      "script",
      { src: "https://hm.baidu.com/hm.js?d8b458c02f3c075abecbfe4eb3625fe0" },
    ],
  ],
  title: "peakj‘s space",
  description: "peakj的个人博客",
  base: "/vuepressBlog/",
  theme: "reco",
  locales: {
    "/": {
      lang: "zh-CN",
      title: "peakj的个人博客",
      description: "peakj的个人博客",
    },
  },
  themeConfig: {
    author: "peakj",
    startYear: "2017",
    subSidebar: "auto",
    logo: "/logo.png",
    mode: "light",
    blogConfig:{
      category: {
        location: 2,
        text: "分类",
      },
      tag: {
        location: 3,
        text: "标签",
      },
    },
    lastUpdated: "最近更新于",
    smoothScroll: true,
    nav: [
      { text: "首页", link: "/" },
      { text: '时光🐔', link: '/timeline/', icon: 'reco-date' },
      {
        text: "PeakJ Space",
        items: [
          { text: "Github", link: "https://github.com/peakj" },
          { text: "掘金", link: "https://juejin.cn/user/694547077660989" },
          { text: "简书", link: "https://www.jianshu.com/u/6d92660a8cea" },
        ],
      },
    ],
    sidebar: [
      {
        title: "welcome",
        path: "/",
        collapsable: false, // 不折叠
        children: [{ title: "peakj", path: "/" }],
      },
      {
        title: "文章",
        path: "/posts/2022-03-14-vscode-settings-json",
        collapsable: false, // 不折叠
        children: [
          {
            title: "ssh免登录应该这样配置",
            path: "/posts/ssh免登录应该这样配置",
          },
          {
            title: "vscode自用配置",
            path: "/posts/2022-03-14-vscode-settings-json",
          },
          {
            title: "HTML5-video-之缓冲条",
            path: "/posts/2019-10-21-HTML5-video-之缓冲条",
          },
          { title: "我的自定义页面", path: "/posts/2019-10-15-我的自定义页面" },
          {
            title: "simple-eventManage-system",
            path: "/posts/2019-10-12-simple-eventManage-system",
          },
          {
            title: "git-rebase使用场景",
            path: "/posts/2019-08-02-git-rebase使用场景",
          },
          {
            title: "clipboard-js-首次复制需要点击两次问题的解决方案",
            path: "/posts/2019-07-30-clipboard-js-首次复制需要点击两次问题的解决方案",
          },
          { title: "社保那些事", path: "/posts/2019-07-30-社保那些事" },
          {
            title: "MVVM双向数据绑定的个人理解",
            path: "/posts/2019-04-23-MVVM双向数据绑定的个人理解",
          },
          {
            title: "http-headers之我见",
            path: "/posts/2019-04-20-http-headers之我见",
          },
          { title: "beacon-api", path: "/posts/2019-04-15-beacon-api" },
          {
            title: "NODE-ENV到底是个什么东西",
            path: "/posts/2019-03-28-NODE-ENV到底是个什么东西",
          },
          {
            title: "mrt-香港地铁配色表",
            path: "/posts/2019-03-19-mrt-香港地铁配色表",
          },
          {
            title: "基于vue的物流信息拨打电话功能",
            path: "/posts/2019-01-06-基于vue的物流信息拨打电话功能",
          },
          { title: "雅虎军规35条", path: "/posts/2018-10-28-雅虎军规35条" },
          {
            title: "WebStrom识别微信小程序标签view",
            path: "/posts/2018-08-20-WebStrom识别微信小程序标签view",
          },
          {
            title: "实用的javascript代码片段",
            path: "/posts/2018-08-20-实用的javascript代码片段",
          },
          {
            title: "内网穿透工具ngrok的使用",
            path: "/posts/2018-08-07-内网穿透工具ngrok的使用",
          },
          {
            title: "Array构造函数创建数组后map的注意事项",
            path: "/posts/2018-06-27-Array构造函数创建数组后map的注意事项",
          },
          { title: "防抖与节流", path: "/posts/2018-06-27-防抖与节流" },
          { title: "精品技术贴汇总", path: "/posts/2018-06-24-精品技术贴汇总" },
          { title: "我的收藏", path: "/posts/2018-05-31-我的收藏" },
          { title: "黑科技", path: "/posts/2018-05-31-黑科技" },
          { title: "tree命令说明", path: "/posts/2018-03-15-tree命令说明" },
          {
            title: "mac-chrome跨域快捷方式",
            path: "/posts/2018-02-08-mac-chrome跨域快捷方式",
          },
          { title: "RN小白笔", path: "/posts/2018-02-05-RN小白笔" },
          { title: "填坑之路", path: "/posts/2017-12-20-填坑之路" },
          {
            title: "localStorage读取性能-转",
            path: "/posts/2017-11-16-localStorage读取性能-转",
          },
          {
            title: "手移H5前端优化及创意功能排坑技巧-转",
            path: "/posts/2017-10-24-手移H5前端优化及创意功能排坑技巧-转",
          },
        ],
      },
    ],
  },
  plugins: [
    [
      "cursor-effects",
      {
        size: 2, // size of the particle, default: 2
        shape: "star", // ['star' | 'circle'], // shape of the particle, default: 'star'
        zIndex: 999999999, // z-index property of the canvas, default: 999999999
      },
    ],
    [
      "@vuepress-reco/vuepress-plugin-kan-ban-niang",
      {
        theme: [
          "haru2",
          "miku",
          "haru1",
          "haruto",
          "koharu",
          "izumi",
          "shizuku",
          "wanko",
          "z16",
        ],
      },
    ],
  ],
};
